﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title></title>
    <!-- Bootstrap Styles-->
    <link href="__BACK__/css/bootstrap.css" rel="stylesheet"/>
    <!-- FontAwesome Styles-->
    <link href="__BACK__/css/font-awesome.css" rel="stylesheet"/>
    <!-- Morris Chart Styles-->

    <!-- Custom Styles-->
    <link href="__BACK__/css/custom-styles.css" rel="stylesheet"/>
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'/>
    <!-- TABLE STYLES-->
    <link href="__BACK__/js/dataTables/dataTables.bootstrap.css" rel="stylesheet"/>
</head>
<body>
<div id="wrapper">
    {include file="public/top"}
    <!--/. NAV TOP  -->
    {include file="public/left"}
    <!--/. NAV TOP  -->

    <!-- /. NAV SIDE  -->
    <div id="page-wrapper">
        <div id="page-inner">
            <div class="row">
                <div class="col-md-12">
                    <h1 class="page-header">
                        打卡列表
                        <small>sign in lists</small>
                    </h1>
                </div>
            </div>
            <!-- /. ROW  -->

            <div class="row">
                <div class="col-md-12">
                    <!-- Advanced Tables -->
                    <div class="panel panel-default">

                        <div class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <thead>
                                    <tr>
                                        <th>id</th>
                                        <th>活动id</th>
                                        <th>用户名</th>
                                        <th>奖金</th>
                                        <th>签到时间</th>
                                        <th>应签到时间</th>
                                        <th>状态</th>
                                        <th>是否结算</th>
                                        <th>创建时间</th>
                                        <!--<th>操作</th>-->
                                    </tr>
                                    </thead>
                                    <tbody>
                                    {foreach $list as $vo}
                                    <tr class="odd gradeX">
                                        <td>{$vo['id']}</td>
                                        <td>{$vo['pro_id']}</td>
                                        <td>{$vo['uid']|getMobile}</td>
                                        <td>{$vo['money']}</td>
                                        <td>{$vo['sign_date']|sign_time_str}</td>
                                        <td>{$vo['signbegin_time']|date="Y-m-d H:i:s",###}</td>
                                        <td>{$vo['status']|item_status}</td>
                                        <td>{$vo['count_status']|item_count_status}</td>
                                        <td class="center">{$vo['create_time']|date="Y-m-d H:i:s",###}</td>
                                        <!--<td class="center">&lt;!&ndash;<a class="btn btn-default" href="{:url('index/userEdit',['id'=>$vo['id']])}">编辑</a> &ndash;&gt;<a class="btn btn-danger" href="{:url('index/userDel',['id'=>$vo['id']])}">删除</a></td>-->
                                    </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                                   {$list->render()}
                            </div>

                        </div>
                    </div>
                    <!--End Advanced Tables -->
                </div>
            </div>
            <!-- /. ROW  -->
        </div>
        <footer>
        </footer>
    </div>
    <!-- /. PAGE INNER  -->
</div>
<!-- /. PAGE WRAPPER  -->
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<script src="__BACK__/js/jquery-1.10.2.js"></script>
<!-- Bootstrap Js -->
<script src="__BACK__/js/bootstrap.min.js"></script>

<!-- Metis Menu Js -->
<script src="__BACK__/js/jquery.metisMenu.js"></script>
<!-- Morris Chart Js -->
<script src="__BACK__/js/morris/raphael-2.1.0.min.js"></script>
<script src="__BACK__/js/morris/morris.js"></script>


<script src="__BACK__/js/easypiechart.js"></script>
<script src="__BACK__/js/easypiechart-data.js"></script>

<script src="__BACK__/js/Lightweight-Chart/jquery.chart.js"></script>

<!-- Custom Js -->
<script src="__BACK__/js/custom-scripts.js"></script>


</body>
</html>
